Skip to content

Fix/net impact label#27

Merged
vahid-ahmadi merged 34 commits intomainfrom
fix/net-impact-label
Jan 22, 2026
Merged

Fix/net impact label#27
vahid-ahmadi merged 34 commits intomainfrom
fix/net-impact-label

Conversation

@vahid-ahmadi
Copy link
Collaborator

No description provided.

vahid-ahmadi and others added 30 commits January 22, 2026 14:12
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Domain is now symmetric around 0
- Uses round number intervals (50, 100, or 150)
- Ticks are consistent across all years

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Domain is now symmetric around 0
- Uses round intervals for both absolute (£10/20/50) and relative (0.5/1/2%)
- Ticks are consistent across all deciles

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Calculate domain across all years in Dashboard.jsx
- Pass fixedYAxisDomain prop to DecileChart
- Axis no longer shifts when changing years

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Unified domain and tick calculation for consistency
- Ticks always include 0 and use same interval as domain
- Symmetric around 0 with round number increments

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Basic rate +7.4% → Basic rate threshold uplift
- Intermediate rate +7.4% → Intermediate rate threshold uplift
- Added missing freeze policy labels

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Calculate min/max values across all years in LocalAreaSection
- Pass fixedColorExtent to ScotlandMap
- Colors no longer shift when changing years

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Changed BBC link to official Scottish Budget document:
https://www.gov.scot/publications/scottish-budget-2026-2027/pages/5/

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Specify 2026 market value basis for £1m threshold
- Add SFC link and explain they don't cost Council Tax (local tax)
- Note SFC assessed LBTT behavioral effects as immaterial
- Clarify £18.5m calculation (11,481 properties × £1,607 rate)
- Explain £1,607 rate derivation from UK benchmark rates
- Restructure methodology steps for clarity

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Converted titles to proper sentences
- Added UK benchmark rates: 100% surcharge on £2m+, 50% on £1-2m
- Mentioned Scottish Band H average (~£3,200/year)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- £1,607 = (89% × £1,500) + (11% × £2,500)
- 89%/11% split from Savills 2024 (416 sales £1m-£2m, 50 sales £2m+)
- Link to scotland-mansion-tax repo for source

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- UK HVCTS sets £2,500/year for £2-2.5m properties
- £1,500/year for £1-2m is extrapolated for Scottish band
- Added link to GOV.UK source

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…tion

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Combined revenue calculation and rate derivation into one point
- Renumbered remaining points (now 4 total)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Added ThresholdChart component using recharts
- Shows baseline (CPI growth) vs reform thresholds by year
- Added charts to basic rate and intermediate rate sections
- Baseline assumes ~2% annual CPI growth from 2025-26

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Added data arrays for higher, advanced, and top rate freezes
- Replaced tables with ThresholdChart for all three freeze policies
- Charts show baseline (CPI growth) vs reform (frozen then CPI)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Fix freeze policy baseline values to use correct CPI from PE UK
- Update baseline to start CPI growth after 2026-27 (per Budget 2025-26)
- Delete tables from threshold uplift policies, keep charts only
- Center threshold charts and increase height to 300px
- Remove "(~2% annually)" and "(CPI growth)" from notes/legends
- Update descriptions with correct baseline values (~£47k, ~£81k, ~£136k)
- Make budget measures section expandable with methodology inside
- Fix various note text for clarity and consistency

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add main "Income tax and benefits" section header (h2)
- Convert subsection headers to h3 with consistent styling
- Make "PolicyEngine vs SFC comparison" match subsection style
- Make Note and Data notes expandable in SFC comparison table
- Update SECTIONS array for cleaner navigation
- Add visual separator styling (border-top) between subsections

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Jan 22, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
post-scottish-budget-dashboard Ready Ready Preview, Comment Jan 22, 2026 5:50pm

Request Review

@vahid-ahmadi vahid-ahmadi merged commit 38f86c3 into main Jan 22, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant